package com.freemalll.merchant.mapper.coopManagement;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freemalll.merchant.domain.dto.MerchantRateDto;
import com.freemalll.merchant.domain.dto.coopManagement.AssetRateDetailEditDto;
import com.freemalll.merchant.domain.entity.coopManagement.MerAssetRateManageDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 资方费率配置明细表 Mapper 接口
 * </p>
 *
 * @author songshixiong
 * @since 2025-07-04
 */
@Mapper
public interface MerAssetRateManageDetailMapper extends BaseMapper<MerAssetRateManageDetail> {

    List<AssetRateDetailEditDto> listByMonth(@Param(value = "rateIdList") List<String> rateIdList);

    List<AssetRateDetailEditDto> listByYear(@Param(value = "rateIdList") List<String> rateIdList);

    List<MerchantRateDto> selectInterestAndFeeModelBySourceIds(@Param(value = "sourceList") List<String> sourceList);
}
